<?php
/**
 * 配置文件
 * Author: Dcr
 * Date: 2019/7/16
 * Time: 14:53
 */
defined('IN_DCR') or exit('No permission resources.');
$config = array(
    //数据库链接相关
    'db' => array(
        'host' => '127.0.0.1',
        'username'  => 'root',
        'password'  => 'root',
        'database'  => 'test',
        'port'      => '3306',
        'charset'   => 'utf8mb4',
        'table_prefix'    => '',
    ),
    //模块控制器相关
    'action'    => array(
        'module' => 'home',
        'controller'   =>   'Index',
        'method'    => 'index',
    ),
    //前台模板后缀
    'template' => array(
        'suffix'    => 'html'
    )
);
return $config;